package com.zengdada.authority.service;

import com.github.pagehelper.PageInfo;
import com.zengdada.authority.model.AppUser;
import com.zengdada.authority.utils.mapper.Page;
import com.zengdada.authority.utils.mapper.Sort;

public interface AppUserAuthorityService extends BaseService<AppUser> {

    AppUser login(AppUser appUser);

    void changPassword(AppUser user, String oldPassword, String password, String confirmPassword);


    PageInfo<AppUser> selectPageInfoByRoleId(String roleId, boolean isIn, String searchs, Page page, Sort sort);

}
